package com.example.newnoke.data;

import java.util.List;

public class QXData {


    /**
     * code : 200
     * message : 查询成功
     * data : {"list":[{"id":1,"price":"5.00","cdate":"2018-11-10"},{"id":2,"price":"5.51","cdate":"2018-11-11"},{"id":3,"price":"5.35","cdate":"2018-11-12"},{"id":4,"price":"5.05","cdate":"2018-11-13"},{"id":5,"price":"4.02","cdate":"2018-11-14"},{"id":6,"price":"8.50","cdate":"2018-11-15"}],"noke_coin":50,"stock":1,"value":50}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":1,"price":"5.00","cdate":"2018-11-10"},{"id":2,"price":"5.51","cdate":"2018-11-11"},{"id":3,"price":"5.35","cdate":"2018-11-12"},{"id":4,"price":"5.05","cdate":"2018-11-13"},{"id":5,"price":"4.02","cdate":"2018-11-14"},{"id":6,"price":"8.50","cdate":"2018-11-15"}]
         * noke_coin : 50
         * stock : 1
         * value : 50
         */

        private double noke_coin;
        private double stock;
        private double value;
        private List<ListBean> list;

        public double getNoke_coin() {
            return noke_coin;
        }

        public void setNoke_coin(double noke_coin) {
            this.noke_coin = noke_coin;
        }

        public double getStock() {
            return stock;
        }

        public void setStock(double stock) {
            this.stock = stock;
        }

        public double getValue() {
            return value;
        }

        public void setValue(double value) {
            this.value = value;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 1
             * price : 5.00
             * cdate : 2018-11-10
             */

            private int id;
            private String price;
            private String cdate;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getCdate() {
                return cdate;
            }

            public void setCdate(String cdate) {
                this.cdate = cdate;
            }
        }
    }
}
